<template>
	<view>
		<navbar title='充值' height="176rpx"
			background='linear-gradient(180deg, rgba(68, 212, 168, 0.3) 0%,  rgba(68, 212, 168, 0) 100%)'></navbar>
		<view class="tipContent" :style="{top: isH5 ? '150rpx' : `${50 + statusBarHeight}px`}">
			<view class="one">
				<text class="oneP">充值金额</text>
				<u-input clearable fontSize='36' placeholderStyle="font-size:20px" placeholder="请输入金额" border="bottom">
					<view class="priceIcon" slot="prefix">
						<text>￥</text>
					</view>
				</u-input>
			</view>
			<view class="two">
				<view class="twoItem">
					<view class="itemLeft">
						<image src="/static/images/order/wx.svg" mode=""></image>
						<view class="leftP">
							<text class="type fontWeight">微信</text>
							<text>SFB125846</text>
						</view>
					</view>
					<view class="itemRight">
						<view class="noChoose">
						</view>
					</view>
				</view>
				<view class="twoItem">
					<view class="itemLeft">
						<image src="/static/images/order/zfb.svg" mode=""></image>
						<view class="leftP">
							<text class="type fontWeight">支付宝</text>
							<text class="noBind">暂未绑定支付宝账号，点击添加</text>
						</view>
					</view>
					<view class="itemRight">
						<view class="noChoose">
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="commonBtn">
			<view class="btnCon">
				<text>充值</text>
			</view>
		</view>
	</view>
</template>

<script>
	import navMixin from "@/mixin/navMixin.js"
	export default {
		mixins: [navMixin],
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.fontWeight {
		font-weight: bold;
	}

	.topCon {
		padding: 0 56rpx;
		height: 176rpx;
		background: linear-gradient(to bottom, rgba(68, 212, 168, 0) 0%, rgba(68, 212, 168, 0.3) 100%);
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 34rpx;
		font-weight: 500;

		.iconfont {
			position: absolute;
			left: 56rpx;
		}
	}

	.tipContent {
		position: relative;
		z-index: 99;
		padding: 32rpx;

		.one {
			.oneP {
				font-size: 24rpx;
				line-height: 34.76rpx;
				margin-bottom: 16rpx;
			}

			.priceIcon {
				font-size: 48rpx;
				font-weight: 500;
				line-height: 63.64rpx;
				color: rgba(54, 68, 79, 1);
			}
		}

		.two {
			margin-top: 132rpx;

			.twoItem {
				display: flex;
				align-items: center;
				justify-content: space-between;
				margin-bottom: 32rpx;
				padding-bottom: 32rpx;

				.itemLeft {
					display: flex;
					align-items: center;

					image {
						width: 32rpx;
						height: 32rpx;
					}

					.leftP {
						display: flex;
						flex-direction: column;
						margin-left: 24rpx;
						font-size: 24rpx;
						color: rgba(152, 160, 166, 1);

						.type {
							font-size: 28rpx;
							margin-bottom: 8rpx;
							color: rgba(54, 68, 79, 1);
						}

						.noBind {
							color: rgba(255, 140, 64, 1);
						}
					}
				}

				.itemRight {
					.choosed {
						display: flex;
						align-items: center;
						justify-content: center;
						width: 32rpx;
						height: 32rpx;
						background: #fff;
						border: 5rpx solid $theme-color;
						border-radius: 50%;

						.inRang {
							width: 20rpx;
							height: 20rpx;
							background: $theme-color;
							border-radius: 50%;
						}
					}

					.noChoose {
						width: 32rpx;
						height: 32rpx;
						border-radius: 50%;
						border: 2.4rpx solid rgba(54, 68, 79, 1);
					}
				}
			}
		}
	}
</style>